# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-fallback-duckduckgo
pkgver=20.02_git20200221
pkgrel=0
_commit="0b9e3c7d0786621d2847ba77d5e4d492f0139531"
pkgdesc="Mycroft AI official Duck Duck Go Skill - used as a fallback if an Utterance can't be matched to an Intent"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3"
source="https://github.com/mycroftai/fallback-duckduckgo/archive/$_commit/fallback-duckduckgo-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/fallback-duckduckgo-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/fallback-duckduckgo.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/fallback-duckduckgo.mycroftai/
}

sha512sums="30759fcc781edf10926e7fe53f4749f2294bef6ca9dde8183d3f9bf6c8f126e3178b19e2f0216b62d561279e9f324491f384a67dfa905b1e6b10e572d73adb38  fallback-duckduckgo-0b9e3c7d0786621d2847ba77d5e4d492f0139531.tar.gz"
